<template>
  <div class="top-detail-list">
    <div class="top-title">专题推荐</div>
    <div class="top-item-main">
      <div class="top-list-item" v-for="item in recommendList" :key="item.id">
        <img :src="item.scene_pic_url" alt="" />
        <p>{{ item.title }}</p>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  props: {
    recommendList: {
      type: Array,
      default() {
        return [];
      },
    },
  },
};
</script>

<style lang="scss" scoped>
//321
.top-detail-list {
  .top-title {
    color: #999999;
    margin: 10px 0;
    font-size: 16px;
    text-align: center;
    padding: 20px 0;
  }
  .top-item-main {
   
    margin: 10px;
    width: fit-content;
    font-size: 14px;
    // padding: 20px;
    .top-list-item {
      padding: 10px;
      margin-bottom: 20px;
      width: 321px;
       background-color: #fff;
      img {
        width: 321px;
        height: 139px;
        margin-bottom: 20px;
      }
    }
  }
}
</style>